Questions tagged [restful-url]

Representational state transfer (REST) is a style of software architecture for distributed hypermedia systems such as the World Wide Web.

https://en.wikipedia.org/wiki/Representational_state_transfer

1351 questions
-1
votes
1 answer

Can Kong return your RESTful API request in parameterized form?

I know it takes restful api and we can add some plugins on it but for my purpose I need the parameterized form of API from getkong server? Is this possible? and if yes please let me know how we can achieve this?
-1
votes
1 answer

POSTing files to a PHP API

I am writing a PHP app with Laravel 5. It manages medical images it will have a RESTful API for getting info on stored files and storing new images. I have a lot of the GET API commands working and am able to upload image files through an HTML form…
Garry Pettet
  • 8,096
  • 22
  • 65
  • 103
-1
votes
1 answer

post a json to a restful web service from html file

I am trying to post a json to a restful web service from html file and it is showing "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource" Code Sniplet from html ajax function: var…
Neel
  • 11
  • 1
  • 4
-1
votes
1 answer

Post method is not working while migrating one maching to other machine

After migrating restfull application from one machine another machine we are able to acess only GET type methods but we are unable to access POST type methods. I am using Tomcat 6.0.36.Please help on this. Please find the code which I am…
Sam
  • 1
  • 1
-1
votes
1 answer

Access children xml elements through php

Greetings Everybody & thanks in advance for your answers. So, my difficulty is this, i found a nice tutorial about a restful web service and i can not manage to modify it to my needs. The below sample code works like a charm function…
Makis
  • 1,214
  • 3
  • 16
  • 40
-1
votes
1 answer

what is the default syntax of an API call?

Could someone help me to understand what a specific example of an API link would look like for the following API? https://engradesandbox.com/docs/ They show examples in the documentation about what the JSON result/return of an API, but not an actual…
Eleanor Zimmermann
  • 414
  • 1
  • 8
  • 26
-1
votes
1 answer

Is it possible to have a html hyperlink with a verb (method/action) POST, PUT or DELETE?

Is there any other verb than GET that we may send with a straight html hyperlink? Do you know any document that specify why a html hyperlink only use the GET method?
Eric Lavoie
  • 5,121
  • 3
  • 32
  • 49
-1
votes
1 answer

Change email and password in separate view, how to structure the actions in RESTful app?

I have a User model with the following attributes: name age ìmage email password I want the user to edit/update the first three attributes in one view and the other two in another. Do I break the RESTful pattern if I duplicate the edit/update…
Fellow Stranger
  • 32,129
  • 35
  • 168
  • 232
-1
votes
1 answer

RESTFull Architecture HTTP GET & PUT Requests

Could anybody point me to a tutorial, examples or docs about http request, GET, PUT. I need to put & get a JSON package to & from a URL. Cant find much objective-c information about receiving JSONs from a HTTP request. Any help is appreciated.
David Flanagan
  • 373
  • 2
  • 7
  • 19
-1
votes
1 answer

javascript json-p cross domain request

Can you tell me what is wrong with this code, I am new to this and have no idea, I tried everything but I can not receive the data from the server. the alert says [object Object], do you know what this means??:
-1
votes
1 answer

Invoking restful Soap web service in android

I am trying to invoke the SOAP Web Service in android in Restful methodology. DefaultHttpClient client=new DefaultHttpClient(); HttpHost targetHost=new HttpHost("87.11.9.26", 8000, "http"); client.getCredentialsProvider() .setCredentials(new…
-2
votes
1 answer

How to declare search criteria as argument REST API method

URI looks like /api/v2/Employee?filter[search_key]=1234 I want to define REST API method for above URI but I am not getting how to consume [search_key] @Path("/Employee") @Produces(MediaType.APPLICATION_JSON) …
Jockey
  • 1
  • 1
-2
votes
1 answer

Which tools to use to list pricing for all lineageOS ROMs?

I am going to buy a new smartphone which shall run lineageOS. Because the decision about the right smartphone is always guided by the pricing of the phone I would like to generate a pricing list containing all devices supported by lineageOS. To…
eDeviser
  • 1,605
  • 2
  • 17
  • 44
-2
votes
3 answers

Can GET, PUT and PATCH be replaced with POST HTTP method?

POST , PUT, PATCH and GET are all different. Idempotent and safety being the key difference makers. While writing RESTFul APIs , I encountered guidelines on when and where to use one of the HTTP methods. Since I am using Java for the back-end…
-2
votes
1 answer

Can a rest api be IP address? or must it be a url?

I am debugging a problem right now at work, and wondering if rest api can be ip address or must it be a url (ie. www.google.com/countries)
user2763557
  • 449
  • 5
  • 18