Skip to content
#

API

An API can be thought of as an instruction manual for communication between multiple software apparatuses. For example, an API may be used for database communication between web applications. By extracting the implementation and relinquishing data into objects, an API simplifies programming.

Here are 27,600 public repositories matching this topic...

lacygoill
lacygoill commented Feb 11, 2020
  • nvim --version: NVIM v0.5.0-370-g5d5b068d5
  • vim -u DEFAULTS (version: 8.2 Included patches: 1-241) behaves differently? Yes
  • Operating system/version: Ubuntu 16.04.6 LTS
  • Terminal name/version: XTerm(322)
  • $TERM: xterm-256color

Steps to reproduce

Run this shell command:

for i in {1..10}; do nvim -es -Nu NORC -i NONE +"let time = reltime() | vim /pattern/gj \$
postwoman
debjeetsarkar
debjeetsarkar commented Nov 26, 2019

Is your feature request related to a problem? Please describe.
There is no comprehensive tooling while working with MQTT brokers.

Describe the solution you'd like
A simple interface to connect to an MQTT broker.
Subscribe to topics
Publish to topics

Describe alternatives you've considered
MQTT Lens

habeeb555-q
habeeb555-q commented Jan 10, 2020
Request Method: GET
http://127.0.0.1:8000/api/
3.0.2
AssertionError
Using OpenAPIRenderer, but pyyaml is not installed.
/home/admin/DEV/PYTHON/Frameworks/django/HighEndSalesEnv/lib/python3.7/site-packages/rest_framework/renderers.py in init, line 1053
/home/admin/DEV/PYTHON/Frameworks/django/HighEndSalesEnv/bin/python
3.7.5
['/home/admin/DEV/PYTHON/Frameworks/django/HighE
yippibrian
yippibrian commented May 21, 2019

It looks like most of the advice from the OWASP REST Cheat Sheet is discussed in this API-Security-Checklist, but OWASP talks about the importance of CORS, which is not mentioned at all in this API-Security-Checklist. Probably good to make mention. Also, the OWASP REST Cheat Sheet provides a bit more guidance regarding validation that might be good to incorporate.

https://github.com/OWASP/Che

ccxt
xmatthias
xmatthias commented Feb 14, 2020

While ccxt does a great job unifying most functions / settings, not everything is or can be unified.
I think it would be good to provide a separate wiki/documentation page which documents exchange-specific properties.

The behavior is there now and all is working well - but to find it users need to search through issues (which are not easy to navigate) to find certain exchange-specifics - and o

AresEkb
AresEkb commented Jan 19, 2020

Here is a trivial source code organization pattern used in a number of projects:

  1. Code is organized using ES6 classes
  2. Each class is defined in a separate file. The file exports the class
  3. A single module (index.js) re-exports the classes

I can't generate a correct documentation for this sample.

Input code

Here is a base class in point.js:

/**
 * Class representi
fastapi
Timunas
Timunas commented Sep 10, 2019

Custom error formatter must have now 5 arguments instead of the old 4. These changes were introduced here on #1652

When migrating from 0.19 to 1.1.0 I had issues on a custom error formatter because the original_exception argument was introduced but that change was not documented on the upgrading guide.

web3.js
nivida
nivida commented Jan 24, 2020

Expected behavior

All types are strongly asserted in the dtslint type tests.

Actual behavior

In some TS type test cases, we still have any types.

Steps to see this behavior

  1. Open the web3-provider-http-tests.ts

Steps for this issue

  1. Check for any types in the tests and the defined types
  2. Add a new type definition if required
  3. Cover th
phill-85
phill-85 commented Sep 28, 2019

Currently HTTPBIN implements the status code 103, however it isn't all that useful.

From my understanding, 103 should be be followed by another status code when the request is complete.

I want to try and implement this behaviour, where should it be implemented? Perhaps there should be a new route for "/informational" ?

YPS233
YPS233 commented Nov 29, 2019

I want to use zeal to query windows driver documents, but after I download the c and c++ documents,i can not found wdk function . for example the function NtCreateFile or ZwCreateFile. I can found it from microsoft document (https://docs.microsoft.com/zh-cn/search/?search=zwcreatefile&category=All). Did I not find it or it is not exist in zeal ?

the funtion information: https://docs.microsoft.

chatch
chatch commented Jul 16, 2019

Prerequisites

  • I am running the latest version. (up upgrade)
  • I searched to see if the issue already exists.
  • I inspected the verbose debug output with the -v, --verbose flag.
  • Are you an Up Pro subscriber?

Description

Currently the TLS version defaults to 1.0. I have to manually upgrade it to 1.2. So it would be nice if it could be specifed in the custom

yarin177
yarin177 commented Jan 11, 2020

Hey, I'm trying to fetch out the data with JSON I've spent way too much time on google and tried every single solution with no success.. when I send the request it raises an json.decoder.JSONDecodeError Exception.
maybe can you help?

class TextOcrRes:
    def on_post(self, req, resp):
        """Handles Text POST requests"""
        json_data = json.loads(req.bounded_stream.read().deco
jdelman
jdelman commented Jul 17, 2019

When rotating between landscape/portrait, you can lose your open document and position. I have encountered this issue on an iPhone XS Max running iOS 12.3.1.

Steps to recreate:

  • Search for something.
  • View an article.
  • Rotate into landscape mode (on my iPhone XS Max, this shows the search view and the document view side-by-side)
  • Rotate back to portrait

Expected behavior: Show

Wikipedia
Wikipedia
You can’t perform that action at this time.