Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@ioniczoo/pigeon-restful-provider
Advanced tools
HTTP Service Provider for Ionic: Our skillful mail pigeon will help you carry out REST requests. Our Pigeon is a RESTful Provider.
HTTP Service Provider for Ionic: Our skillful mail pigeon will help you carry out REST requests. Our Pigeon is a RESTful Provider.
npm install @ioniczoo/pigeon-restful-provider --save
HttpClientModule
and 'RestfulProvider' to app.module.ts
import { ErrorHandler, NgModule } from '@angular/core';
import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';
import { HttpClientModule } from '@angular/common/http';
import { RestfulProvider } from '@ioniczoo/pigeon-restful-provider';
import { MyApp } from './app.component';
@NgModule({
declarations: [
MyApp
],
imports: [
HttpClientModule,
IonicModule.forRoot(MyApp, {
pigeon_debug: true,
pigeon_loader: true,
pigeon_alert: true,
pigeon_host: 'https://randomuser.me',
pigeon_status: {404: ['Ops', '404 - Not found']}
})
],
bootstrap: [IonicApp],
entryComponents: [
MyApp
],
providers: [
RestfulProvider,
{ provide: ErrorHandler, useClass: IonicErrorHandler }
]
})
export class AppModule {}
...
import { RestfulProvider } from '@ioniczoo/pigeon-restful-provider';
@IonicPage()
@Component({
selector: 'page-home',
templateUrl: 'home.html',
})
export class HomePage {
constructor(private restful: RestfulProvider) {
this.restful.request('get', '/api/?results=10')
.then((data) => { console.log(data); })
.catch((data) => { console.log(data); });
}
}
Create issues and request pull-request.
FAQs
HTTP Service Provider for Ionic: Our skillful mail pigeon will help you carry out REST requests. Our Pigeon is a RESTful Provider.
We found that @ioniczoo/pigeon-restful-provider demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.