Trishul API MCQs with answers Page - 10

Here, you will find a collection of MCQ questions on Trishul API . Go through these questions to enhance your preparation for upcoming examinations and interviews.

To check the correct answer, simply click the View Answer button provided for each question.

Have your own questions to contribute? Click the button below to share your MCQs with others!

+ Add Question

A

Admin • 833K Points
Coach

Q. Which interface does TrishulClient implement?

  • (A) HttpClientInterface
  • (B) ClientInterface
  • (C) TrishulClientInterface
  • (D) RequestInterface

A

Admin • 833K Points
Coach

Q. Which technology is used internally by TrishulClient to make HTTP requests?

  • (A) Sockets
  • (B) cURL
  • (C) Guzzle
  • (D) Axios

A

Admin • 833K Points
Coach

Q. What is the main difference between mono and flux methods?

  • (A) Mono is async, flux is sync
  • (B) Flux only supports GET
  • (C) Flux methods expect array data, mono supports mixed
  • (D) Mono does not support headers

A

Admin • 833K Points
Coach

Q. Which method is used for GET request (mono variant)?

  • (A) get()
  • (B) get_mono()
  • (C) fetch()
  • (D) request_get()

A

Admin • 833K Points
Coach

Q. Which method is used for POST request (flux variant)?

  • (A) post()
  • (B) post_mono()
  • (C) post_flux()
  • (D) send_post()

A

Admin • 833K Points
Coach

Q. Which parameter type is required for headers in all methods?

  • (A) array
  • (B) string
  • (C) TrishulClientHeader
  • (D) object

A

Admin • 833K Points
Coach

Q. Which method internally executes the HTTP request?

  • (A) execute()
  • (B) __makeCurlRequest()
  • (C) requestHandler()
  • (D) curl_exec()

A

Admin • 833K Points
Coach

Q. What is the visibility of __makeCurlRequest()?

  • (A) public
  • (B) protected
  • (C) private
  • (D) static

A

Admin • 833K Points
Coach

Q. Which method is used to send DELETE request (flux variant)?

  • (A) delete()
  • (B) delete_mono()
  • (C) delete_flux()
  • (D) remove_flux()

A

Admin • 833K Points
Coach

Q. What is special about delete_flux() data parameter?

  • (A) Mandatory
  • (B) Not used in implementation
  • (C) Only string allowed
  • (D) Required for all requests