Questions tagged [mashape]

Mashape is an API marketplace where developers can find and consume cloud APIs, and that API providers can use to distribute, track and manage their public or private cloud services.

Mashape is an API marketplace where developers can find and consume cloud APIs, and that API providers can use to distribute, track and manage their public or private cloud services.

Developers that consume APIs have a unified place to consume a multitude of cloud APIs, tracking their usage analytics, and subscribe to pricing plans.

On the other side, developers that want to publish their cloud API to the public, or internally in private/partner mode, can use all the tools provided by Mashape to handle authentication, users, analytics and billing.

87 questions
0
votes
0 answers

Mashape multipart-form POST request

I have a POST method in my API which uses multipart encoded form data. I have set up the correct header and data settings so that the mashape web interface generated the following curl: curl -X POST --include…
user2403149
0
votes
0 answers

Using Unirest Library with Xcode

I am trying to get this simple request to work but i get 2 errors in Xcode. Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_UNIRest", referenced from: objc-class-ref in ViewController.o ld: symbol(s) not found for architecture…
0
votes
1 answer

Swift Image upload Request with camfind

Hey I'm trying to use the Mashape api CamFind to upload an image request but I'm not sure how to do it, Camfind want: - a multiform encoded request - the header to contain the key - paramaters: image_request[locale] and image_request[image] I've…
Kashish Goel
  • 94
  • 1
  • 9
0
votes
1 answer

Can't manage to POST image in multipart-form

I'm trying to use camfind for an Android app, and using retrofit for all the requests and so. I'm finding huge difficulties uploading my image file to the server using multipart form-data. Can you solve this? My code: public class getCamFind { //Set…
Dominus
  • 808
  • 11
  • 25
0
votes
1 answer

Pass variable to params unirest

I have a function which returns a list of text. I am using an API from Mashape (Maui-Pro) which generates keywords from a given piece of text. Mashape requires that you use unirest for HTTP requests. I want to pass the list of text to the API and…
sammy88888888
  • 458
  • 1
  • 5
  • 18
0
votes
1 answer

How to use the Application Search API and get the Android Application version number from Playstore using mashape api

I have to get the application version number and details of an android application from the google play store. I have checked the mashape api. Please refer the URL. https://www.mashape.com/maxcanna/google-play-store Can you confirm if the apis can…
0
votes
1 answer

Yoda Speak Api. Is it the key or code?

I am trying to use the Yoda speak api. Here is my fiddle of it: http://jsfiddle.net/Dansker/tdhnmmye/ $.ajax({ url: 'https://yoda.p.mashape.com/yoda', // The URL to the API. You can get this by clicking on "Show CURL example" from an API…
user4740044
0
votes
2 answers

Why is Camfind API returning "image can't be blank" despite JPG attached with Request?

I just subscribed to Camfind API and am trying to upload an photo I took on my device using their Endpoint at https://www.mashape.com/imagesearcher/camfind#. This endpoint lets you upload the image to be identified, along with other attributes…
0
votes
1 answer

POST request in swift

Okay I have looked high and low and can not find the answer. So I am just trying to make a simple POST request to a mashape api from an iPhone app. Here is what I have so far: var headers: NSDictionary = ["X-Mashape-Key":…
Danwakeem
  • 328
  • 2
  • 17
0
votes
2 answers

How can I return the json property of this swiftHTTP function as a string?

I am trying to learn how to use swiftHTTP with a mishap api (https://www.mashape.com/textanalysis/textanalysis). This is my code so far, import SwiftHTTP func splitSentenceIntoWordsUsingTextAnalysis (string: String) -> String { var request…
webmagnets
  • 2,266
  • 3
  • 33
  • 60
0
votes
1 answer

Java "Broken Pipe" Error (using Unirest http wrapper)

I'm using the unirest http wrapper (http://unirest.io/java.html) in a Java application to send http post requests. Unfortunately I keep getting a "broken pipe" error: com.mashape.unirest.http.exceptions.UnirestException: java.net.SocketException:…
timminss
  • 271
  • 3
  • 11
0
votes
1 answer

Use External Java Library in Android

I have to use one of mashape api in my android application, for that I have to include their java support library named unirest to my android project, I have added that library via build configuration settings. but when I run the project it throws…
programr
  • 25
  • 8
0
votes
1 answer

How to print JSON data by Mashape on Swift?

I tried to use "Yoda Speak" API by Mashape in Swift. I will print the data from the API. I succeeded calling "response" method after "getData" method but my simulator is out in the "response" method. I know there're some similar questions, but I…
0
votes
1 answer

Error while trying to consume a Mashape webservices using javascript

I'm trying to consume a mashape api using ajax, javascript. I have a text area and a button in my html :


0
votes
1 answer

Trouble with Mashape API using Google Apps Script

I've been using Google Apps Script for a little while now, but some how always get hung up on this payload thing. I'm just trying to to do a basic api call to mashape. Since it is a post call I'm pretty sure I should use the payload in the …