Questions tagged as 'restful'

1
answer

Get error message in Post HttpClient

I have a WCF Service on a server whose service is also configured as WebInvoke: [WebInvoke( Method = "POST", UriTemplate = "/work", BodyStyle = WebMessageBodyStyle.WrappedResponse, ResponseFormat = WebMessageFor...
asked by 28.06.2017 / 14:22
1
answer

Web service long implementation period

I'm creating a webservice that queries in a DW these queries because they have aggregation functions and everything takes a bit more time than normal (something around 2 - 5 minutes), but the client does not wait for this query terminating it un...
asked by 22.06.2017 / 21:01
1
answer

Deserialize JSON with Restsharp and with JavaScriptSerializer

I'm having difficulty deserializing a JSON. I'm getting the following content: "response":{ "account":{ "name":"Evandro Teste", "owners":[], "creationDate":"2017-07-07T07:18PDT", "city":"Guarulhos",...
asked by 11.07.2017 / 17:00
1
answer

Rest with Angular 2 [closed]

In recent weeks I have been training a lot in angular 2. However, some doubts have arisen in the course of these studies and I would like the help of you for those who know how to heal such doubts. Come on: Question # 1 - In my studies I have...
asked by 10.01.2017 / 03:56
1
answer

Configure Slim Framework and Apache 2

Hello, good afternoon. Recently I hired linux hosting. My site uses the Slim Framework, but I am not getting access to its routes when it is in production, but at localhost xampp, it was working normally. Slim Routes for testing (not getti...
asked by 09.01.2017 / 18:10
1
answer

Ajax request for laravel server

My minimundo is as follows, I am developing an API for a bakery, where it can be on the same server or different server, I am using the laravel framework in the 5.2.* version. In order to facilitate the work I did some controllers...
asked by 04.10.2016 / 01:54
1
answer

Nested resources Rails

I created two models in the Rails application, and made their relationship through the declaration in the classes and in the database as well. I added the configuration to activate the nested resources in the routes file, the routes were created...
asked by 05.05.2016 / 02:56
1
answer

When executing PUT method in application Grails system inserts new record instead of updating

When trying to run JSON below via PUT method in a Grails application the system inserts a new record. URLMappings.groovy class UrlMappings { static mappings = { "/$controller/$action?/$id?(.$format)?"{ constraints {...
asked by 04.11.2015 / 10:25
1
answer

How to do a POST using the HttpUrlConnection class of Android?

I need to send a JSON generated in the Android application to a web application. Using the HttpUrlConnection class I made the following encoding: private void sendPost(String url, String postParams) { try { URL...
asked by 24.08.2015 / 21:31
1
answer

WCF Restful Https for a single method

I have a RESTful WCF that I'm using for a mobile application, I need a single method, the payment method, to use HTTPS, I do not want to enable HTTPS for the whole service because some methods return a large amount of data and it would be too he...
asked by 04.04.2014 / 15:55