You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var should = require("should");
var request = require("request");
var expect = require("chai").expect;
//var baseUrl = "https://swapi.co/api";
var util = require("util");
var qs = require('querystring');
url = 'https://some.exampleapi.com:443/api'
it('generate organization id', function(done) {
this.timeout(50000);
var filter = {name:'Automation system - Do Not Use'}
request.get({
url: url + '/systems/' + '?access_token=' + tokenId,
qs :filter
}, function(error, response, body) {
// Do more stuff with 'body' here
console.log("the body content is" + body);
done();
});
The issue is the GET request is not filtering the response data. I just fetches everything. is qs :filter, syntactically correct.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The issue is the GET request is not filtering the response data. I just fetches everything. is qs :filter, syntactically correct.
The text was updated successfully, but these errors were encountered: