Tag Archives: api

How to change api's JSON parameter with Javascript?

Questions: I have an api and it has a JSON like, [{“NAME”:”john”,”SURNAME”:”johny”,”ADULT”:”3″,”CHILD”:”3″,”BABY”:”0″,}] Inside my js function, I want to send request to web service that will change the “BABY” to “1”.Is there any way to do that without using JQuery? Answers:

Return Line Items Array from Zapier Code Block

Questions: Is it possible to return a Line Items Array from a Zapier JS Code Block? I’ve read in the documentation that simply returning an array will cause future actions to run multiple times. In my situation though, I only want future actions to be run once but to be able to create Line Items… Read More »

How to authorize access to api? React JS

Questions: I am trying to make a single page web app where user can search photos from Unsplash.com. I am using unsplash api and can’t figure out how to get through authorization. I have no experience with authorization. import React, { Component } from ‘react’; import Unsplash, { toJson } from ‘unsplash-js’; import ‘./App.css’; const… Read More »

ng-table how to get data form API AWS using angular 5

Questions: I am working on Angular 5 and ng-table but how to get data from API using AWS? I am not getting any errors. I can retrieve data on console but the table is not filled with data. I am using this code as follows: participants.ts private data: Array<Participant> = []; public constructor(private httpClient: HttpClient,… Read More »

Post json data using fetch api failed

Questions: Am new in javascript , and am trying to POST data with an API endpoint but data is not posting , I have printed in the console , but I see Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.woff2?v=4.7.0 in Google chrome. But internet connection… Read More »

How to get authentication to the api

Questions: I want to make a image search web app with unsplash api, but I can’t seem to get it to work, I am following instructions on here https://github.com/unsplash/unsplash-js#dependencies also there is additional information in here https://unsplash.com/documentation#authorization-workflow. I am new to authorization. import React, { Component } from ‘react’; import Unsplash, { toJson } from… Read More »

How should I pass multiple parameters to an ASP.Net Web API GET

Questions: I’m developing web API with my existing project in .net framework 4.0 using web API 4.0 but my problem is I don’t know how to pass multiple parameters to get all the sales data from database using four parameters how to perform routing in global.asax Control Function want to Access public MyApiResult functionGetDataBasedOnParameter(string stringEmailAddress,… Read More »