0
votes
1answer
17 views

Unable to Call Action with JSON from ASP.Net Forms/API Controller

I have been trying to test a specific controller action for quite some time and cannot figure out why the action cannot be called by the AJAX I have. Below is my code. Side note, it works fine when ...
1
vote
1answer
9 views

Jenkins REST API - using tree to reference specific item in JSON array

I am able to use the Jenkins API to get information about my build via the url http://localhost:8080/job/myjob/149/api/json I want to be able to query the changeSet node using the tree query ...
0
votes
1answer
23 views

Using REST API, Oauth in php

I create a mobile website with registration form. They gave me the REST API member service to POST data from my mobile registration form. All I know is send the data to email address using PHP. How ...
-2
votes
3answers
42 views

How to get specific value from JSON result return from REST call [closed]

I am trying to fetch value from json result which is return from a REST call in my javascript . Below is the JSON result of the REST { "self": ...
1
vote
1answer
34 views

Consuming a ServiceStack service to get Raw Bytes

I'm consuming a rest service with ServiceSatck framework. Now I want to get the raw bytes. Suppose the url is http://xx.xxx.xxx.xx/Myservice/api/hello. In this Seeing the Http Response content in ...
0
votes
0answers
18 views

Http json post on Spring MVC Controller

I have a REST Controller with Spring that looks like this: @RequestMapping(value = "/test/post", method = RequestMethod.POST, consumes = "application/json") public void testPost2(@RequestBody String ...
0
votes
0answers
15 views

How should I build this Rails REST JSON API for mobile phone access? [closed]

Assume I have to build a blog with REST JSON API with these entities: - Category (with name and description). - Blog entry (with title, content and published). - Comment (with content). Constraints: ...
2
votes
2answers
57 views

Send JSON Data for Debugging

I would like to debug client side applications by manually creating a JSON data stream. I was hoping that Google Chrome's debug console would be able to do this. For example, consider the following ...
0
votes
0answers
18 views

How to define contracts for JSON request/responses. Especially the extenisble ones

I am working on a REST service, which supports both XML and JSON requests/responses. There will be multiple clients, some will use XML and others JSON. Clients may be written in Java, Objective C, ...
-5
votes
0answers
48 views

how to convert php date to json format for a rest api post call [closed]

i have a date $dt1="2013-04-11"; how would i convert this date to '"\/Date(xxxxxxxxx-xxxx)\/"' format for a rest API call
0
votes
1answer
27 views

How can I implement compression of a WCF RESTful (JSON) Service in C# with interoperabiility?

I have a WCF RESTful (i.e. JSON) service I'm building in C#. One of the DataContract methods can return a response that is very large, minimum 10 MB and maximum could be over 30 MB. It's all text ...
1
vote
2answers
31 views

Deserializing SFDC REST services JSON resopnse

Receiving following response from SFDC REST Web Service (string jsonResponse below): { "responseDataList": [{ "salesforceRecordId": "a00C000000L5DQRIA3", "recordName": ...
3
votes
1answer
57 views

Reasons not to use POST when searching via API endpoint?

I think the standard approach to RESTful searching is this: GET /users?parameter1=value1&parameter2=value2&parameter3=value3&parameter4=value4 But I want to do something like this: ...
0
votes
1answer
46 views

json_decode() expecting a string, I could only get an array

I'm using Slim Framework, trying to build a REST API. Long story short, I've been like for 4 hours looking for a solution for my problem, which it is that json_decode won't take as an argument the ...
1
vote
1answer
19 views

Adding TestCaseSteps to TestCases using Rally Rest for Java

I am creating a function that updates Test Cases, and have been stumped for a while with this situation. I am trying to figure out a way to add given steps to test cases and it has not been working. ...

1 2 3 4 5 89
15 30 50 per page