PHP web service not working from jQuery AJAX

后端 未结 2 371
轮回少年
轮回少年 2021-01-28 01:04

I have created Restful web service in jomsocial environment. It\'s on the local machine. When I test it using REST console it return\'s response.

local url formed is...<

2条回答
  •  走了就别回头了
    2021-01-28 01:29

    When you posted more information I think I found the/a reason for your trouble. According this page the syntax of your json object is wrong. The linked page shows examples for the most common datatypes in Javascript. If you read the examples, take an eye of the position of quotation signs.

提交回复
热议问题