Updating json url for Flickr api

I am using Flickr api and I am trying to change tag on the original url and to do my search based on that however, for some reason i cannot access the new url, can someone give some guidance. The error that i am getting is NetworkOnMainThreadExceptio...
more »

2017-08-15 14:08 (0) Answers

Replying to a particular mail using EWS API

I want to reply to a particular mail from a conversation from a UI which I created. I want that reply to be sent for that mail only and after it gets sent, it should be added to the existing conversation. I am writing this application on Python and I...
more »

2017-08-14 15:08 (0) Answers

session doesn't work in laravel API?

I have been working with session in web controllers but never tried in api controllers.I want session works in api controllers. here is my method in Api/TestController public function setSession(Request $request){ // session()->put('hellos',...
more »

2017-08-14 12:08 (0) Answers

How to get promise value to react component?

I am trying get data from an api endpoint and display it on a react component. When I am formulating components depending on the data from state.trainData by mapping, I also require to get data from another api endpoint for each of the elements of ...
more »

2017-08-11 22:08 (1) Answers

Calling Api in side map function

I have this code export const callingEveSkill = () => (dispatch, getState) => { fetch('https://esi.tech.ccp.is/latest/characters/' + getState().ViewChr.Cid + '/skills/?datasource=tranquility&token=' + getState().ViewChr.At) .then(re...
more »

2017-08-10 23:08 (1) Answers

Is Facebook Mention Tagging Autocomplete Possible?

I am trying to implement a feature in my app using Facebook's Mention Tagging API. Most articles online reference the blog post here, which then links to a broken documentation link. I am wondering if this is even possible, as I cannot find any resou...
more »

2017-08-10 23:08 (0) Answers

API RESTful URL path for custom action

I have a budget entity... At some point, the app lets you create a new budget for a client. Before saving the budget you have the option of generate a preview where the total amounts based on your selections are shown. Those calculations are done i...
more »

2017-08-10 19:08 (2) Answers

How to implement user login in Jersey API

I am implementing RESTful API using javax.ws.rs. The response of the calls that I need to implement requires knowing which user is logged in currently. I tried making a separate call for the user login: api.myapi.co.uk/authenticate?username=xxxx&...
more »

2017-08-09 18:08 (1) Answers

Couldn't list the pages from facebook api

My code $facebook = new Facebook\Facebook([ 'app_id' => $config['fb_api'], 'app_secret' => $config['fb_secret'], 'default_graph_version' => 'v2.10', 'cookie' => false, ]); $helper = $facebook->getRedirectLoginHelper(); $accounts = ...
more »

2017-08-09 11:08 (0) Answers

How to redirect request to a web api?

Consider the following scenario: I have a WCF web service which is also a REST service in the url http://test.example.com/Rest/ObjService.svc/BeginProcess For some reason I need to rewrite the code for that service in a web api. Said api is in http...
more »

2017-08-09 01:08 (0) Answers

How do I protect my API keys in my React App?

How do I go on about protecting my api keys in my react app ? Do I set something up with express ? I'm trying my best to avoid building anything on the server myself to make the API calls from there. I am solely using firebase as my backend but I am ...
more »

2017-08-07 19:08 (0) Answers

REST API many-to-many relationships

For example, we have an application with such resources: Person, Movie, Cartoon, TV Show. Stars, directors, ... is Persons. Each person can have some role in Movie, Cartoon or TV-Show. Is there best practices for implementing such relationships in ...
more »

2017-08-04 02:08 (1) Answers

Restful Codeigniter

i try to use Restful Codeigniter for make Restful API, i done all installation requirements, and download all Libraries, but when i make this code <?php require APPPATH . '/libraries/REST_Controller.php'; class api extends REST_Controller{ fun...
more »

2017-08-02 16:08 (0) Answers

Accessing data from rest api with reactjs

I´m developing an application with react and I found a big trouble manipulating the information from a rest api. I have a fetch where the api by get method should bring me the customer id, but I always get an error like this. {error: "Customer not...
more »

2017-08-02 15:08 (2) Answers