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 26,521 public repositories matching this topic...

antokara
antokara commented Dec 19, 2019

Describe the bug
The URL of the admin's profile is invalid and causes KOA to throw 500 on page refresh

Steps to reproduce the behavior

  1. Login as admin (perhaps as any other user as well)
  2. Click on the User menu on the top right
  3. Click on the "profile" menu option
  4. The URL should now be `/admin/plugins/content-manager/strapi::administrator/1?redirectUrl=/plugins/content-
daffodil11
daffodil11 commented Nov 21, 2019

Problem

When following the instructions in the README in the redux example project, a crash occurs.

Input

Here's how I'm using normalizr:
clone this repo
run yarn in the root dir
run yarn in the examples/redux dir
run yarn start

Output

Here's what I expect to see when I run the above:
An inquirer prompt.

Here's what I actually see when I run the above:

> no
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

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

q946666800
q946666800 commented Dec 10, 2019

版本号

~
1.8.6

什么问题

~
在swagger中设置参数类型为form,但是导入文档后默认body类型为json,需要自己手动修改

如何复现此问题

~

使用springfox-swagger
@ApiImplicitParams({
@ApiImplicitParam(name = "a", value = "参数a的注释", required = true, paramType = "form", defaultValue = "a1")
})
这里注解标示paramType = "form",导入之后参数默认还是为json,需要自己编辑,改为form。

什么浏览器

~
chrome

什么系统(Linux, Windows, macOS)

macOS 10.15.1

ccxt
hivemall
hivemall commented Sep 24, 2019

your manual pagination by since is broken, tested with bittrex since it will fetch the latest trade over and over again not breaking, thus this is better example:

    def paginate_history(self, ex) -> List:
       tradess = []
        since = ex.milliseconds() - 1000*60*60*24*14 # 1d *x
        while True:
            trades = ex.fetch_my_trades(None, since, limit=5)
            if 
learn-anything
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.

edlefebvre
edlefebvre commented Dec 10, 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

It would be great to add regex capabilities to redirects like so:

redirects: {
  "/folder/:slug(regexhere)": {
    "location": "https
fastapi
joe-eklund
joe-eklund commented Dec 19, 2019

First check

  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the FastAPI documentation, with the integrated search.
  • I already searched in Google "How to X in FastAPI" and didn't find any information.

Description

What I mean by api developer docs are basically something like sphinx docs for function definitions. This is usually gen

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.