cztomczak/phpdesktop

phpdesktop chrome not working on postman

khushal-more opened this issue · 1 comments

Hello Team,
I am new to phpdesktop chrome. I simply created index.php file in www directory for simplicity and modified settings.json file for static IP as well as port, it's working properly in phpdesktop screen as well as in browser(by navigating to IP with port). but when i try to hit the same request on Postman, then there is an issue for response. i have attached all screens for reference. may you pl checkout?
The reason for using Postman is that. we are going to make apis/services to be used by android/ios devices.

index.php
Screenshot_1

settings.json
Screenshot_2

phpdesktop screen
Screenshot_3

Chrome screen
Screenshot_4

Postman Bug Screen
Screenshot_5

PHP Desktop uses Mongoose web server. Maybe Postman doesn't understand one of the headers Mongoose sends. Or Mongoose doesn't understand some of the headers Postman sends. I suggest you compare what headers sends PHP Desktop vs other web server. Also what is "Error: Parse error". Is this error that Mongoose throws or Postman? Any other messages in php desktop logs?