[ONSTART] jobs=HTTPJOB RefreshRate=30
[HTTPJOB] MAIN=HTTP_START ENVIRONMENT=ENVIRONMENT
[HTTP] enable=1 port=8082 ENVIRONMENT=ENVIRONMENT PATH=C:\ENVIRONMENT\protheus_data\http-root --Caminho exemplo da pasta http-root
[HTTPV11] Enable=1 Sockets=HTTPREST
[HTTPREST] Port=8080 URIs=HTTPURI Security=1 IPsBind=
[HTTPURI] URL=/rest PrepareIn=01,0101 – Grupo e filial separados pro virgula respectivamente Instances=1,1 CORSEnable=1 AllowOrigin=* info
Após executar todas as configurações, ao iniciar o appserver em modo console, deve ser possível visualizar a marcação do REST:
Image Modified
|