Questions tagged as 'rest'

1
answer

When I run my WCF REST enter the WCF Client Test screen

When I run my WCF REST enter the WCF Client Test screen. Before it was working. Why is this happening, that is, why does the WCF Client Test screen enter?     
asked by 21.05.2014 / 19:50
2
answers

Allow a list as argument

I have a REST API in Python that gets 2 arguments, a Url list and a word. I am a beginner in Python and would like to know if it is possible to split the URl string to accept more than one URL when requesting the body from the URL. For example,...
asked by 01.10.2018 / 15:21
2
answers

Return an object coming from two or more tables the fields

I have done some posts about rest and lambda, and to give an end to this subject (hopefully), I have a question. A colleague here on the site recommended that I create a DTO and bring the database data based on this DTO class and not directly fr...
asked by 27.08.2017 / 23:27
1
answer

Doubt with service rest and with put verb

I need only do an update on two fields of my model. In the get I pass a DTO to my App. The question is: When I go to do my update (verb put) do I need to load all the property or just the one I'm going to upgrade? Like this: [Route("atualiza/{...
asked by 14.09.2017 / 14:57
1
answer

References are not available in the final program

I'm validating some functions created in python, I have a code that creates some functions. When I run the program with the functions (test_client.py), I get run-time error. auth_utils.py: from hashlib import sha256 try: from urllib import...
asked by 19.02.2017 / 03:49
2
answers

RestSharp connected with Firebase but does not show result

I've made a service on C # and now I need to connect this service to my bank on FireBase . The following is the Library method for connecting to FireBase : public static void restAPI() { var client = new RestClient("https:/...
asked by 01.02.2017 / 17:51
1
answer

Dynamic Paging with Angular Table

I have the following scenario: IretrievethisdatafromaRestAPIwithVraptor.Iwouldliketodisplayonlytwoitemsperpage,butIdonotknowwheretostart.Iimplementedthispagingusingthe ui-bootstrap . How do I make a dynamic query and display only two item...
asked by 23.09.2015 / 16:43
1
answer

Problems updating the access token

I am authenticating to the Google Calendar API using Scribe, which once uses OAuth 2.0. Authentication completes successfully but I do not know how to store the access token in the database. I'm doing the following: /*Obter o API USER TOKEN e...
asked by 07.12.2014 / 02:34
1
answer

Return only filled fields in the web service

I made a REST with WCF. In a method it returns me an object. It turns out that I do not fill in all the fields of this object and it shows all in the response xml. How do I display only the fields that have value, ie the ones that I fill in?   ...
asked by 27.05.2014 / 20:27
1
answer

Image manipulation with nodejs and ionic

I have an Ionic application, in it I have to send a converted image to base64 for an api, and api to the database. I was getting error by the size of the payload, I found on the internet about using the JSON.stringfy, apparently it worked, howev...
asked by 11.11.2018 / 03:40