Welcome to Jonic Developer Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged rest

0 votes
768 views
1 answer
    How would you go about creating a restful web service using Meteor. I would like to create apps in Appcelerator that hook into the same backend. Can Meteor solve this problem? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
792 views
1 answer
    I am trying to send a "GET" request to a remote REST API from Command Prompt via cURL like this: curl -X GET -H "Content-type: application/json" ... but all of them talk about POST requests not about GET. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
795 views
1 answer
    In my knowledge, the RESTful WCF still has ".svc" in its URL. For example, if the service interface is like [OperationContract] [WebGet(UriTemplate = "/ ... remove this ".svc" host in the access URI? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
950 views
1 answer
    I've installed Firefox RESTclient add-on but , I'm having hard time figuring out how to pass POST parameters. Is there a specific format to do this? Or is ... used to debug an REST API on Mac OS X ? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
700 views
1 answer
    The Wikipedia entry on HTTP lists the following HTTP request methods: HEAD: Asks for the response identical to the one that would correspond to a GET ... preferably light) reading that would be great too! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
683 views
1 answer
    I was wondering if it's acceptable to put custom data in an HTTP authorization header. We're designing a RESTful API and we may need a way to specify a ... key, the second part is a hash of query string. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
714 views
1 answer
    I'm developing a REST API service for a large social networking website I'm involved in. So far, it's working great. I can issue GET, POST, PUT ... only a slice of 30 results would only be returned. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
633 views
1 answer
    Consider we have an api endpoint (ex: REST) and a react web app to connect it This is what I do for authentication and authorization When user sends ... api against calling out of the specific web app ) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
833 views
1 answer
    Our REST APIs are returning results in Pages. Here is an example of one Controller @RequestMapping(value = "/search", method = RequestMethod.GET, ... with additional type information Thank you in advance See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    How can I get a REST client (such as the one built into PHPStorm or POSTman) to work with XDebug? In my current set-up of XDebug, using PHPStorm and ... can't figure out how to get it started. Cheers. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
698 views
1 answer
    I am writing a RESTful service for a customer management system and I am trying to find the best practice for updating records partially. For example ... /cmd/sendEmail?customerId=123 GET /customer/count See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
714 views
1 answer
    In RESTful style programming, we should use HTTP methods as our building blocks. I'm a little confused though which methods match up to the classic CRUD ... they match one to one with Create and Update? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
942 views
1 answer
    Certain APIs in my project can only be accessed via OAuth 2.0 using an encoded format. I am able to manually submit a POST using POSTMAN as it ... URL: http://location.ver02.geicenter.com/uaa/oauth/token See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
799 views
1 answer
    Using Spring Data REST with JPA in version 2.0.2.RELEASE. How can I disable Hypertext Application Language (HAL) in the JSON ? http://stateless.co/ ... :8080/app/companies/1/sector" } } } Thanks for your help. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
615 views
1 answer
    I heard that a "RESTful API should be stateless. All state info should be kept on client side". But when I issue an AJAX call from a web page ... detailed code is located here: Is this login logic via RESTful call sound? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
881 views
1 answer
    I want to make my RESTful API very predictable. What is the best practice for deciding when to make a segmentation of data using the URI rather than by ... what is the rule of thumb on knowing when to use path params? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
878 views
1 answer
    I want to set the value of the Accept: in a request I am making using Spring's RestTemplate. Here is my Spring request handling code @RequestMapping( value= "/ ... method (e.g. GET,POST, ... ) when I use RestTemplate? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
908 views
1 answer
    This is more of a general question about the difference between text/xml and application/xml. I am fairly new to writing webservices (REST - Jersey). ... different about it and when would you use it over application/xml? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I'm building a server that allows clients to store objects. Those objects are fully constructed at client side, complete with object IDs that are ... modification request or should I return some error code (which)? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I would like to set the connection timeouts for a rest service used by my web application. I'm using Spring's RestTemplate to talk to my service. I've done ... these. Any ideas as to what I'm doing wrong? Many thanks. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
811 views
1 answer
    I'm building a web service and have a node that accepts a POST to create a new resource. The resource expects one of two content-types - an XML format I' ... present, and that's always a bit iffy from what I can tell. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
761 views
1 answer
    With Spring 3.0, can I have an optional path variable? For example @RequestMapping(value = "/json/{type}", method = RequestMethod.GET) public @ResponseBody ... then /json?type=abc&track=aa or /json?track=rr will work Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
708 views
1 answer
    Closed. This question is opinion-based. It is not currently accepting answers. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
624 views
1 answer
    I am going to make a RESTful call in Java. However, I don't know how to make the call. Do I need to use the URLConnection or others? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
652 views
1 answer
    I have a RESTful API that I have exposed using an implementation of Elasticsearch on an EC2 instance to index a corpus of content. I can query the search by ... is better...)? Do I pass as a header or otherwise? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    Below is the code snippet; basically, I am trying to propagate the exception when the error code is anything other than 200. ResponseEntity<Object> response = ... method in try? What would then be the purpose of codes? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
843 views
1 answer
    I've been using Postman Chrome extension to test out my API and would like to send an array of IDs via post. Is there a way to send something list this as a parameter in Postman? { user_ids: ["1234", "5678"] } Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
906 views
1 answer
    I'm trying to figure out what the correct status code to return on different scenarios with a "REST-like" API that I'm working on. Let's say I have ... s valid JSON, it's just doesn't contain all of the required fields. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to Jonic Developer Community for programmer and developer-Open, Learning and Share
...