Sign Up

Sign In

Forget Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Discy Latest Questions

  • 0

My script is returning [object Object] as a result of console.log(result). Can someone please explain how to have console.log return the id and name from result? $.ajaxSetup({ traditional: true });var uri = "";$("#enginesOuputWaiter").show(); $.ajax({ type: "GET", url: uri, dataType: "jsonp", ...

  • 0

What is this error ? How can I fix this? My app is running but can’t load data. And this is my Error: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $ RequestInterface : public interface RequestInterface {@GET("Erfan/news.php") Call<JSONResponse> ...

  • 0

I’ve been trying to figure out a good way to load JSON objects in Python. I send this json data: {'': {'': [{'type': 'literal', 'value': "Anna's Homepage"}]}} to the backend where it will be received as a string then I used json.loads(data) to parse ...

  • 0

I’m trying to use JSON Server in a React App. However, I keep getting the following error. events.js:167 throw er; // Unhandled 'error' event ^ Emitted 'error' event at: at GetAddrInfoReqWrap.doListen [as callback] (net.js:1498:12) at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:50:17) I’ve upgraded npm and ...

  • 0

I’ve been having some trouble with react router (i’m using version^4.0.0). this is my index.js import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import './index.css'; import { Router, Route, Link, browserHistory } from 'react-router';ReactDOM.render( <Router history={browserHistory} > <Route ...